<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8" %>
<% String root = request.getContextPath() + "/"; %>
<%@ page import="dao.Student" %>
<div class="container">
    <h1><%= request.getAttribute("name") %>的个人信息</h1>
    <table class="table table-striped">
        <tr>
            <td>学号</td>
            <td><%= request.getAttribute("no") %></td>
        </tr>
        <tr>
            <td>姓名</td>
            <td><%= request.getAttribute("name") %></td>
        </tr>
        <tr>
            <td>班级</td>
            <td><%= request.getAttribute("class") %></td>
        </tr>
    </table>
    <a href="edit" class="btn btn-primary btn-lg">修改</a>
    <a href="<%= root %>student/score/index" class="btn btn-danger btn-lg">成绩</a>
</div>
